package com.campus.domain.Dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class CourseCreateDto {

    @NotBlank(message = "课程名称不能为空")
    private String courseName;
    @NotBlank(message = "活动Id不能为空")
    private Long activityId;
    private Long teacherId;
    private Long classId;

}
